package com.ruoyi.api.kehu;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.system.domain.JiajiaRecruitmentPosters;
import com.ruoyi.system.service.IJiajiaRecruitmentPostersService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 招聘内容信息Controller
 * 
 * @author ruoyi
 * @date 2025-02-28
 */
@RestController
@RequestMapping("/api/kehu/JiajiaRecruitmentPosters")
public class ApiJiajiaRecruitmentPostersController extends BaseController {
    @Autowired
    private IJiajiaRecruitmentPostersService jiajiaRecruitmentPostersService;

    /**
     * 查看招聘内容信息
     */
    @GetMapping("/getInfo")
    public AjaxResult getInfo()
    {
        JiajiaRecruitmentPosters jiajiaRecruitmentPosters = jiajiaRecruitmentPostersService.selectJiajiaRecruitmentPosters();
        return AjaxResult.success(jiajiaRecruitmentPosters);
    }

}
